package tanx

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// TaobaoTanxQualificationPictureUploadAPIResponse 资质图片上传接口 API返回值
// taobao.tanx.qualification.picture.upload
//
// 资质图片上传接口
type TaobaoTanxQualificationPictureUploadAPIResponse struct {
	model.CommonResponse
	TaobaoTanxQualificationPictureUploadAPIResponseModel
}

// TaobaoTanxQualificationPictureUploadAPIResponseModel is 资质图片上传接口 成功返回结果
type TaobaoTanxQualificationPictureUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_qualification_picture_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 上传后返回的url
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 返回是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}
